home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / catD / delay.z / delay
Encoding:
Text File  |  1998-10-30  |  3.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ddddeeeellllaaaayyyy((((DDDD3333))))                                                            ddddeeeellllaaaayyyy((((DDDD3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _dddd_eeee_llll_aaaa_yyyy - delay process execution for a specified number of clock ticks
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _vvvv_oooo_iiii_dddd _dddd_eeee_llll_aaaa_yyyy_((((_llll_oooo_nnnn_gggg _t_i_c_k_s_))))_;;;;
  13.  
  14.    AAAArrrrgggguuuummmmeeeennnnttttssss
  15.      _t_i_c_k_s     The number of clock ticks to delay.
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      _dddd_eeee_llll_aaaa_yyyy causes the caller to sleep for the amount of time specified by
  19.      _t_i_c_k_s, which is in units of clock ticks.  The exact length of the delay
  20.      is not guaranteed but it will not be less than _t_i_c_k_s -_1 clock ticks.
  21.  
  22.    RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
  23.      None
  24.  
  25. UUUUSSSSAAAAGGGGEEEE
  26.      The length of a clock tick can vary across different implementations and
  27.      therefore drivers should not include any hard-coded assumptions about the
  28.      length of a tick.  The _dddd_rrrr_vvvv______uuuu_ssss_eeee_cccc_tttt_oooo_hhhh_zzzz(D3) and _dddd_rrrr_vvvv______hhhh_zzzz_tttt_oooo_uuuu_ssss_eeee_cccc(D3) functions
  29.      can be used, as necessary, to convert between clock ticks and
  30.      microseconds (implementation independent units).
  31.  
  32.      The _dddd_eeee_llll_aaaa_yyyy function calls _iiii_tttt_iiii_mmmm_eeee_oooo_uuuu_tttt(D3) to schedule a wakeup after the
  33.      specified amount of time has elapsed.  _dddd_eeee_llll_aaaa_yyyy then goes to sleep until
  34.      _iiii_tttt_iiii_mmmm_eeee_oooo_uuuu_tttt wakes up the sleeping process.
  35.  
  36.    LLLLeeeevvvveeeellll
  37.      Base only.
  38.  
  39.    SSSSyyyynnnncccchhhhrrrroooonnnniiiizzzzaaaattttiiiioooonnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnnttttssss
  40.      Can sleep.
  41.  
  42.      Driver-defined basic locks and read/write locks may not be held across
  43.      calls to this function.
  44.  
  45.      Driver-defined sleep locks may be held across calls to this function, but
  46.      this is discouraged because it can adversely affect performance by
  47.      forcing any other processes contending for the lock to sleep for the
  48.      duration of the delay.
  49.  
  50. RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
  51.      _dddd_rrrr_vvvv______hhhh_zzzz_tttt_oooo_uuuu_ssss_eeee_cccc(D3), _dddd_rrrr_vvvv______uuuu_ssss_eeee_cccc_tttt_oooo_hhhh_zzzz(D3), _dddd_rrrr_vvvv______uuuu_ssss_eeee_cccc_wwww_aaaa_iiii_tttt(D3), _iiii_tttt_iiii_mmmm_eeee_oooo_uuuu_tttt(D3),
  52.      _ssss_llll_eeee_eeee_pppp(D3), _uuuu_nnnn_tttt_iiii_mmmm_eeee_oooo_uuuu_tttt(D3), _wwww_aaaa_kkkk_eeee_uuuu_pppp(D3)
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.